package com.zmn.oms.third.pinduoduo.service;

import com.zmn.oms.common.exception.chan.ChannelFacadeException;
import com.zmn.oms.third.pinduoduo.dto.api.PinDuoDuoResponse;

import java.util.Map;

/**
 * 类描述：
 *
 * @author LiangHailong
 * @date 2021/01/01 23:44
 */
public interface PinDuoDuoFacadeService {
    /**
     * 处理拼多多发送的订单消息（店铺签约，创建订单，预约通知，取消订单等）
     * @param params
     * @return com.zmn.oms.third.pinduoduo.dto.api.PinDuoDuoResponse
     */
    PinDuoDuoResponse handleSyncOrderMsg(Map<String, String> params) throws ChannelFacadeException;
}
